﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="InfomationContentCate.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Infomation.InfomationContentCate" %>
<asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" Width="100%">
    <ItemTemplate>
        <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl='<%# "~/infodetail.aspx?id="+Eval("Id")+"&infoid="+Eval("InfoId") %>'
            Text='<%# Eval("TieuDe") %>'></asp:LinkButton>
        <br />
    </ItemTemplate>
</asp:DataList>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByLoai"
    TypeName="IOBusiness.clsBSInfomationContent">
    <SelectParameters>
        <asp:Parameter DefaultValue="infoid" Name="loaiid" Type="Int32" />
        <asp:Parameter DefaultValue="id" Name="id" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
